<!DOCTYPE html>
<html>
<head>
<title>编辑权限</title>
<link th:replace="common/common_css" />
<style type="text/css">
html, body,.form-main {
	height:95%;
}
</style>
</head>
<body>
<div class="form-main">
	<div style="margin-top:10px;"></div>
 	<div class="container-fluid">
        <form role="form" method="post" name="form" id="form">
        	<input type="hidden" name="menuId" th:value="${obj} ? ${obj.menuId}" />
        	<input type="hidden" name="authId" th:value="${obj} ? ${obj.authId}" />
        	<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
        		<div class="form-group">
        			<label for="authName">名称<em> *</em></label>
		            <input class="form-control input-sm" name="authName" type="text" id="authName" placeholder="请输入名称" th:value="${obj} ? ${obj.authName}">        			
        		</div>
        	</div>
        	<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">        		
	            <div class="form-group">
		            <label for="authCode">权限码<em> *</em></label>
		            <input class="form-control input-sm" name="authCode" type="text" id="authCode" placeholder="请输入权限码" th:value="${obj} ? ${obj.authCode}">
		        </div>
        	</div>
        	<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">        		
	            <div class="form-group">
		            <label for="authType">类型<em> *</em></label>
		            <select class="form-control simpleSelect" name="authType" id="authType">
	                  <option value="0">普通</option>
	                  <option value="1">管理</option>
	                </select>
		        </div>
        	</div>
        	<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">        		
	            <div class="form-group">
		            <label for="authStatus">状态<em> *</em></label>
	             	<select class="form-control simpleSelect" name="authStatus" id="authStatus">
	                  <option value="0">有效</option>
	                  <option value="1">注销</option>
	                </select>
		        </div>
        	</div>
        	<div style="clear:both;"></div>
        	<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
	          	 <div class="form-group">
		             <label for="remark">备注</label>
		             <textarea rows="3" class="form-control" name="remark" id="remark" placeholder="备注" th:text="${obj} ? ${obj.remark}"></textarea>
	             </div>
	          </div>
        </form>
    </div>
    <div class="b-form-div">
    	<div class="layui-layer-btn layui-layer-btn-c"><a class="layui-layer-btn0 b-btn-save">保存</a><a class="layui-layer-btn1 b-btn-cancel">取消</a></div>
    	<br/>
    </div>
</div>
</body>
<script type="text/javascript" th:replace="common/common_js"></script>
<script type="text/javascript" th:src="@{/static/js/sys/auth/auth_edit.js}" src="static/js/sys/auth/auth_edit.js"></script>
</html>